<?php
class Secure extends BaseController_Controller {
 

	public function __construct()
	{
		//$this->curmenu="";
		parent::__construct();

		//$this->load->model('sysmenu_Model');
		//$this->load->model('sysmodule_Model');
		
		
	//	$this->output->enable_profiler(TRUE);
	}
	
	function index()
	{	   
				
		//$this->showmsg(new  NotifMessage('this is title','warning','this my message to you'));
		//$this->loadpage('scp/scphome',$data);
		//$this->appendhtml('yanuar ade saputra',$data);
		//$this->loadpagewithjs('scp/scphome',$data,'test.js');
		//$this->appendhtmlwithjs('yanuar saputra',$data,'test.js');
		//$this->load->view('scp/hometemplate',$data);
		//redirect('/scp/user','refresh');
		
		$this->appendhtmlwithjs('',$data,'admin/home.js',false);
		
	
	}

	function tesjs()
	{
		echo '<script src=""></script>';
	}

	function login()
	{
		$this->load->view('scp/login');	
	}



	function getmodule()
	{	
		 $ret=$this->sysmodule_Model->get_module();
		 return $ret;		 
	}

}
